How to resize an image based on the longest side?
How to resize an image based on the longest side?
21931-Jul-2023
Updated on 01-Aug-2023
Home / DeveloperSection / Forums / How to resize an image based on the longest side?
How to resize an image based on the longest side?
Aryan Kumar
01-Aug-2023Sure, here are the steps on how to resize an image based on the longest side:
Here is an example of how to resize an image based on the longest side using Photoshop:
The image will be resized based on the longest side.
Here is an example of the code you can use to resize an image based on the longest side in Python:
Python
This code will resize the image to 100 pixels on the longest side.